[Extensibility Request] issue 30336: add OnValidateNoOnBeforeModifyCapNeedEntries event in Prod. Order Routing Line#9463
Open
AleksandricMarko wants to merge 1 commit into
Open
Conversation
…nt in Prod. Order Routing Line Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
AleksandricMarko
marked this pull request as ready for review
July 16, 2026 07:56
AleksandricMarko
enabled auto-merge
July 16, 2026 07:56
Contributor
Copilot PR ReviewIteration 1 · Outcome: completed
Knowledge source: https://github.com/microsoft/BCQuality@186d8a131465475c79244d994acb872cd5c0d4bf Orchestrator pre-filter (2 file(s) excluded)
Findings produced by the AL review agent v1.7.3. Reply 👎 on any inline comment to flag false positives. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The issue author is building a customization on table 5409 "Prod. Order Routing Line" that must run after the standard Work Center / Machine Center transfer logic populates the routing line, but before capacity need entries are updated. They need access to both
RecandxRecto compare the previous and current routing line state at that exact point, which no existing event provides. This PR adds an integration event at that precise location so extensions can subscribe without duplicating validation logic.Source issue repository: microsoft/AlAppExtensions; issue number: 30336
Changes Made
Prod. Order Routing Line(table 5409) - Added integration eventOnValidateNoOnBeforeModifyCapNeedEntries(Rec, xRec)in theOnValidatetrigger of fieldNo., raised afterWorkCenterTransferFields()/MachineCtrTransferFields()and immediately beforeModifyCapNeedEntries(); new publisher declared alongside the other integration events. The same change is mirrored in the IT layer counterpart.Fixes AB#641735